/**
 * 
 */
package com.shark.app.common.validate.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;

import com.shark.app.common.validate.validator.HttpUrlValidator;

/**
 * @author lenovo
 * @description
 * @date 2016年8月17日
 */
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy=HttpUrlValidator.class)
public @interface HttpUrl {

	String message() default"不是Url形式";  
    
    Class<?>[] groups() default {};  
     
    Class<? extends Payload>[] payload() default {};  
}
